//
//  DataProvider.h
//  LoveAttention
//
//  Created by 鞠超 on 16/1/4.
//  Copyright © 2016年 JC. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "Header.h"

@interface DataProvider : NSObject
{
    id CallBackObject;
    NSString * callBackFunctionName;
}

- (void)setDelegateObject:(id)cbobject setBackFunctionName:(NSString *)selectorName;


#pragma mark - 登陆
-(void)Login_inwith:(NSString *)username andpwd:(NSString *)pwd;
#pragma mark - 注册
-(void)Registerwith:(NSString *)username andpwd:(NSString *)pwd andcode:(NSString *)code andinvitecode:(NSString *)invitecode;

#pragma mark - 我的积分
- (void)myJifenWith:(NSString *)merchantid;

#pragma mark - 输入验证码
- (void)inputCaptchaWith:(NSString *)code;

#pragma mark - 关注用户
- (void)AttentionWith:(NSString *)merchantid andpagenumber:(NSString *)pagenumber andpagesize:(NSString *)pagesize;

#pragma mark - 用户资料
- (void)UserDetailWith:(NSString *)memberid;

#pragma mark - 上传头像
-(void)Image_headwith:(NSString *)merchantid andfiles:(NSData *)files;

#pragma mark - 预约我的产品
- (void)ReservationWith:(NSString *)merchantid andpagenumber:(NSString *)pagenumber andpagesize:(NSString *)pagesize;

#pragma mark - 预约详情
- (void)ReservationDetailWith:(NSString *)reserationid;

#pragma mark - 修改预约状态
-(void)reviseReservationwith:(NSString *)reserationid andrstate:(NSString *)rstate;

#pragma mark - 预约删除
- (void)ReservationDeleteWith:(NSString *)reserationid;

#pragma mark - 卡券核销
- (void)CardDallocWith:(NSString *)merchantid andpagenumber:(NSString *)pagenumber andpagesize:(NSString *)pagesize;

#pragma mark - 商户积分变化记录
- (void)jifenChangeWith:(NSString *)merchantid andpagenumber:(NSString *)pagenumber andpagesize:(NSString *)pagesize;

#pragma mark - 卡券数据
- (void)CardDataWith:(NSString *)merchantid;

#pragma mark - 商户确认订单
- (void)ConfirmOrdersWith:(NSString *)orderid;

#pragma mark - 支付
- (void)RechargeWith:(NSString *)merchantid andchannel:(NSString *)channel andamount:(NSString *)amount;

#pragma mark - 我的邀请
- (void)inviteWithMemberid:(NSString *)memberid;

#pragma mark - 卡券核销
- (void)couponConsumeWithMerchantid:(NSString *)merchantid couponnum:(NSString *)couponnum;

#pragma mark - .卡券搜索
- (void)couponSearchWithMerchantid:(NSString *)merchantid couponnum:(NSString *)couponnum;

#pragma mark - 卖家版卡券详情
- (void)coupondetailWithCouponid:(NSString *)couponid;

#pragma mark - 卡券核销
- (void)couponConsumeWithMerchantid:(NSString *)merchantid couponid:(NSString *)couponid;


#pragma mark - 买家订单列表
- (void)orderlistWith:(NSString *)merchantid andpagenumber:(NSString *)pagenumber andpagesize:(NSString *)pagesize andordernum:(NSString *)ordernum;

#pragma mark - 我的订单详情
- (void)orderdetailWithOrderid:(NSString *)orderid;

#pragma mark - 12.用户操作订单
- (void)orderdetailWithOrderid:(NSString *)orderid opera:(NSString *)opera memberid:(NSString *)memberid;

#pragma mark - 3.商户操作订单
- (void)mconfirmorderWithOrderid:(NSString *)orderid opera:(NSString *)opera merchanid:(NSString *)merchanid;

#pragma mark - 5.根据确认码确认消费
- (void)identifycodeWithcode:(NSString *)code merchantid:(NSString *)merchantid;
#pragma mark - 获取行业
-(void)GetHangye;
#pragma mark -提交商户注册信息
-(void)UploadShopInfoWithprm:(NSDictionary * )prm andavatar:(NSData *)avatar andcardz:(NSData *)cardz andcardf:(NSData *)cardf andyyzz:(NSData *)yyzz;

@end
